package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanFileDao;
import com.open.system.domain.LoanFileDO;
import com.open.system.service.LoanFileService;



@Service
public class LoanFileServiceImpl implements LoanFileService {
	@Autowired
	private LoanFileDao loanFileDao;
	
	@Override
	public LoanFileDO get(Long id){
		return loanFileDao.get(id);
	}
	
	@Override
	public LoanFileDO getLastNewInfo(Map<String, Object> map){
		return loanFileDao.getLastNewInfo(map);
	}
	
	@Override
	public List<LoanFileDO> list(Map<String, Object> map){
		return loanFileDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanFileDao.count(map);
	}
	
	
	@Override
	public List<LoanFileDO> list2(Map<String, Object> map){
		return loanFileDao.list2(map);
	}
	
	@Override
	public int count2(Map<String, Object> map){
		return loanFileDao.count2(map);
	}
	
	
	
	@Override
	public int save(LoanFileDO loanFile){
		return loanFileDao.save(loanFile);
	}
	
	@Override
	public int update(LoanFileDO loanFile){
		return loanFileDao.update(loanFile);
	}
	
	@Override
	public int remove(Long id){
		return loanFileDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanFileDao.batchRemove(ids);
	}

    @Override
    public int updateHasemptyByUserId(Long id) {
        return loanFileDao.updateHasemptyByUserId(id);
    }

	@Override
	public LoanFileDO getLastNewGuaranteeInfo(Map<String, Object> map) {
		return loanFileDao.getLastNewGuaranteeInfo(map);
	}
}
